var user = document.getElementById("user");
		var pass = document.getElementById("pass");
		var tiJiao = document.getElementById("tiJiao");
		tiJiao.onclick = function() {
			if (user.value == 0 || pass.value == 0) {
				alert("用户名或密码不能为空!");
				return false;
			}
		}